package exercise;

public class LoopHourAndMinute {
    public static void main(String[] args) {
        for (int hour = 0; hour <1 ; hour++) {//外层控制小时
            for (int minute = 0; minute <60 ; minute++) {//内层控制小时内的分钟
                for (int s = 0; s <60 ; s++) {//分钟内的秒
                    System.out.println(hour+"点"+minute+"分"+s+"秒");
                }

            }

            
        }
    }
}
